<?php defined('IN_ADMIN') or exit('No permission resources.');?>
<?php include $this->admin_tpl('header', 'admin');?>
<div class="subnav">
	<div class="content-menu ib-a blue line-x">
	   <a href="./index.php?m=subject_live&c=manage&a=init" style="font-size:14px;color: #0000FF;font-weight:bolder;"><em>返回上一级</em></a>	
	</div>
</div>
<div class="pad-10">

	<form name="myform" action="?m=<?php echo ROUTE_M?>&c=<?php echo ROUTE_C?>&a=<?php echo ROUTE_A?>&id=<?=$id?>" method="post"
		id="myform" enctype="multipart/form-data">
		<div class="content pad-10" id="show_div_1" style="height: auto">
			<fieldset>
				<legend>直播信息---详情</legend>
				<table width="100%" class="table_form">
					<tr>
						<td width="120"><?php echo L('title')?>：</td>
						<td>
						<?php if(isset($data['title']) && !empty($data['title']) ) { echo $data['title'];}else{echo"<span style='color:red;'>（未设置）</span>";}?>
					</tr>
					<tr>
						<td width="120"><?php echo L('sort')?>：</td>
						<td>
						<?php if(isset($data['sort']) && !empty($data['sort']) ) { echo $data['sort'];}else{echo"<span style='color:red;'>（未设置）</span>";}?>
					</tr>
					<tr>
						<td width="120"><?php echo L('status')?>：</td>
						<td>
						<?php if(isset($data['sort']) && !empty($data['status']) ) {if($data['status']==1){echo "<span style='color:orange;font-weight:bolder;'>准备中</span>";}elseif ($data['status']==2){echo "<span style='color:green;font-weight:bolder;'>启用</span>";}elseif ($data['status']==3){echo "<span style='color:red;font-weight:bolder;'>关闭</span>";}}else{echo"<span style='color:red;'>（未设置）</span>";}?></td>
					</tr>
					<tr>
						<td width="120"><?php echo L('image_cover')?>：</td>

						<td>
						<?php if(isset($data['image_cover']) && !empty($data['image_cover'])){?><img src="<?=$data['image_cover']?>"  width="200" /><?php }else{echo"<span style='color:red;'>（未设置）</span>";}?></td>
					</tr>
					<tr>
						<td width="120"><?php echo L('desc')?>：</td>
						<td >
						<?php if(isset($data['desc']) && !empty($data['desc']) ) { echo $data['desc'];}else{echo"<span style='color:red;'>（未设置）</span>";}?></td>
					</tr>
				</table>
			</fieldset>

		</div>
		<div class="bk15"></div>

	</form>

</div>
</body>
</html>